public class J2105 {
    public static boolean find(int[] arr){
        int sum = 0;
        for(int i = 0; i < arr.length; i++){
            if(arr[i] % 2 != 0){
                sum++;
            }else{
                sum = 0;
            }
            if(sum == 3){
                return true;
            }
        }
        return false;
    }

    public static void main(String[] args) {
        int[] nums = new int[]{1,2,4,8,5,6,7,4,5,1,9,2,2};
        System.out.println(find(nums));
    }
}
